<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page language="java" import="java.util.*"%>
<%@ page language="java"
	import="com.tangdi.production.mpapp.utils.WebPayServletUtil"%>
<%@page import="org.apache.commons.lang.StringUtils"%>
<%@ page language="java"
	import="com.tangdi.production.mpapp.constants.*"%>
<%@ page import="java.text.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("on_back", "1");

	WebPayServletUtil payUtil = new WebPayServletUtil();
	//out.write(basePath);
	boolean ok = payUtil.validation(request, response);
	if (!ok) {
		payUtil.toLoginPage(request, response);
	}
%>
<!DOCTYPE html>
<html lang="zh">
<base href="<%=basePath%>">
<head>
<title>我的收益</title>

<%
	out.write("<script type=\"text/javascript\">");

	out.write("</script>");
%>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport"
	content="initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="format-detection" content="telephone=no" />
<meta name="format-detection" content="email=no" />

<link rel="stylesheet" href="ace_v1.3/assets/css/ace.css"
	class="ace-main-stylesheet" id="main-ace-style" />
<link rel="stylesheet" href="css/webpay/bootstrap2.css" />
<link href="css/webpay/common.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/webpay/core.1.0.css" />

<link rel="stylesheet" href="ace_v1.3/assets/css/ace-fonts.css" />

<link rel="stylesheet" href="ace_v1.3/assets/css/font-awesome.css" />
<link rel="stylesheet" href="css/dialog.css" />
<link rel="stylesheet" href="ace_v1.3/assets/css/chosen.css" />

<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/core-1.0.js"></script>
<script type="text/javascript" src="js/webpay/base.js" charset="UTF-8"></script>

<script type="text/javascript">
</script>




<!--[if lte IE 9]>
			<link rel="stylesheet" href="ace_v1.3/assets/css/ace-part2.css" class="ace-main-stylesheet" />
		<![endif]-->

<!--[if lte IE 9]>
		  <link rel="stylesheet" href="ace_v1.3/assets/css/ace-ie.css" />
		<![endif]-->



<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

<!--[if lte IE 8]>
		<script src="ace_v1.3/assets/js/html5shiv.js"></script>
		<script src="ace_v1.3/assets/js/respond.js"></script>
		<![endif]-->

<jsp:include page="../plug/head-include.jsp" />
<style type="text/css">
.profitBox{
	text-align: left;
	padding: 10px 10px;
	border: 1px solid #7ea8f5;
	margin-top: -1px;
	display: none;
}
.profitLable{
	font-size: 12px;
	font-weight: 700;
}
.profitValue{
	font-weight: 700;
	padding-left: 5px;
}
#casBtn{
	margin-left: 10px;
	font-size: 13px;
	padding: 0px 10px !important;
}
</style>
</head>
<body>
	<!-- #section:basics/navbar.layout -->
	<jsp:include page="../plug/title.jsp" />

	<div class="main-container" id="main-container">

		<!-- #section:basics/sidebar -->
		<!-- /section:basics/sidebar -->
		<div class="main-content">
			<div class="main-content-inner">
				<!-- #section:basics/content.breadcrumbs -->
				<!-- /section:basics/content.breadcrumbs -->
				<div class="page-content">
					
					<div class="col-sm-8 col-xs-12 col-sm-offset-2 ">
						<div class="profitBox" id="sharStatus_sum">
							<span class="profitLable">&nbsp;总&nbsp;&nbsp;&nbsp;收&nbsp;&nbsp;&nbsp;益&nbsp;:</span>
							<span class="profitValue" valueOf="{sharAmt}元"></span>
						</div>
						
						<div class="profitBox" id="sharStatus_00">
							<span class="profitLable">未结算收益:</span>
							<span class="profitValue" valueOf="{sharAmt}" init-format="profitCas('{value}')"></span>
						</div>
						
						<div class="profitBox" id="sharStatus_01">
							<span class="profitLable">结算中收益:</span>
							<span class="profitValue" valueOf="{sharAmt}元"></span>
						</div>
						
						<div class="profitBox" id="sharStatus_02">
							<span class="profitLable">已结算收益:</span>
							<span class="profitValue" valueOf="{sharAmt}元"></span>
						</div>
					</div>
					
				</div>
			</div>
		</div>
	</div>
	<script  src="js/webpay/user_profit.js"></script>
</body>
</html>
